﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace xuanke
{
    class Code
    {
        public string  kebiao(int type,string id,int xnd,int xq)
        {
            switch (type)
            {
                case 1:
                    {
                        return "http://xuanke.tongji.edu.cn/tj_xuankexjgl/elective/query/lessontable/kebiao.jsp?xh=" + id + "&xnd=" + xnd + "&xq=" + xq + "&jd=1";
                    }
                case 2:
                    {
                        return "http://xuanke.tongji.edu.cn/tj_yuanxi/teacher/kebiao.jsp?jsdm=" + id + "&xnd=" + xnd + "&xq=" + xq + "&jd=1";
                    }
                default: return "http://xuanke.tongji.edu.cn/tj_login/null";
            }
        }
    }
}
